package cn.zwx.distributed.svc.service;

/**
 * @author zhangwenxue
 */
public interface WorkerIdService {

    /**
     * Assign worker id for {@link com.baidu.fsg.uid.impl.DefaultUidGenerator}
     *
     * @return assigned worker id
     */
    long assignWorkerId();
}
